package org.bennedum.SimpleMCClient.protocol;

/**
 *
 * @author frdfsnlght <frdfsnlght@gmail.com>
 */
public final class PacketFF extends Packet {
    
    public PacketFF(byte[] input) {
        String reason = getString16(input, 1);
        setBuffer(input, 0, 3 + (reason.length() * 2));
    }
    
    public String getReason() {
        return getString16(buffer, 1);
    }
    
}
